package com.csun.cmny.provider.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Auther: ZNR
 * @Date: 2020-11-11
 * @Description: 华隆崇明添加长期医嘱单dto
 */
@Data
@ApiModel(value = "添加长期医嘱单DTO")
public class DoctorWorkAddMedicalAdviceDto {

    /**
     *老人ID
     */
    private String oldmanId;

    /**
     *老人姓名
     */
    private String oldmanName;

    /**
     *楼栋
     */
    private String buildingNo;

    //楼栋ID
    private String buildingId;

    /**
     * 房间号
     */
    private String roomNo;

    //房间ID
    private String roomId;

    /**
     * 床位号
     */
    private String bedNo;

    //床位ID
    private String bedId;

    /**
     * 入院号
     */
    //private String hospitaltionNo;

    /**
     * 医嘱时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date medicalAdviceTime;

    /**
     * 医生ID
     */
    private String doctorId;

    /**
     * 护士ID
     */
    private String nurseId;

    /**
     * 医生姓名
     */
    private String doctorName;

    /**
     * 护士姓名
     */
    private String nurseName;

    /**
     * 长期医嘱
     */
    private String medicalAdvice;

    /**
     * 停止时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date stopTime;


}
